import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'package:tot_android_flutter/themes/color_palettes.dart';
import 'package:tot_android_flutter/utils/utils_ext.dart';

class AppTextStyles {
  // 主标题样式
  static  TextStyle title = TextStyle(
    fontSize: 24.w,
    fontWeight: FontWeight.bold,
    color: Colors.black,
  );

  // 副标题样式
  static  TextStyle subtitle = TextStyle(
    fontSize: 18.w,
    fontWeight: FontWeight.w500,
    color: Colors.grey,
  );

  // 正文样式
  static  TextStyle bodyfirst = TextStyle(
    fontSize: 14.w,
    color: ColorPalettes.instance.firstText,
  );

  // 小文本样式
  static  TextStyle caption = TextStyle(
    fontSize: 12.w,
    color: Colors.black54,
  );

  // 链接样式
  static  TextStyle link = TextStyle(
    fontSize: 14.w,
    color: Colors.blue,
    decoration: TextDecoration.underline,
  );

  // 错误信息样式
  static  TextStyle error = TextStyle(
    fontSize: 14.w,
    color: Colors.red,
  );

  // 成功信息样式
  static  TextStyle success = TextStyle(
    fontSize: 14.w,
    color: Colors.green,
  );

  // 警告信息样式
  static  TextStyle warning = TextStyle(
    fontSize: 14.w,
    color: Colors.orange,
  );
}
